/**
 * 
 */
var dataR=null;
getdata={
	device:function(devicecode){
		$.ajax({
			url: "device/get/code/" + devicecode,
			async:false,
			type: 'GET',
			success: function(result) {
				dataR = result;
			}

		});
	}	
		
}